import React from 'react'
import '../../static/css/han.form.css'

let Text = props => (
        <div className={["han_text",props.label?'':'han_text_nolabel'].join(' ')}>
            {props.label?<span>{props.label}</span>:''}
            <div className="txt">{props.value}</div>
            {props.btnShow?<b onClick={props.click}>选择</b>:''}
        </div>
    )

export default Text
